import './assets/main.css'
import '@fortawesome/fontawesome-free/css/all.css'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import { createApp } from 'vue'
import { createPinia } from 'pinia'

import App from './App.vue'
import router from './router'
import { library } from '@fortawesome/fontawesome-svg-core'
import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome'
import {
  faGear,
  faBars,
  faSun,
  faBell,
  faS,
  fas,
  faCloudUploadAlt,
  faEye,
  faMagic,
  faDownload,
  faDatabase,
} from '@fortawesome/free-solid-svg-icons'

library.add(
  faGear,
  faBars,
  faSun,
  faBell,
  faS,
  fas,
  faCloudUploadAlt,
  faEye,
  faMagic,
  faDownload,
  faDatabase,
)

const app = createApp(App)
app.use(ElementPlus)
app.component('font-awesome-icon', FontAwesomeIcon)
app.use(createPinia())
app.use(router)
app.mount('#app')
